Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_SetDirection

You can use the Q3SpotLight_SetDirection function to set the direction of a spot light.

TQ3Status Q3SpotLight_SetDirection (
TQ3LightObject light, 
const TQ3Vector3D *direction);
light
A spot light object.
direction
The desired direction of the specified light.
DESCRIPTION
The Q3SpotLight_SetDirection function sets the direction of the spot light specified by the light parameter to the value passed in the direction parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996